import Vue from 'vue'
import App from './App.vue'
import Router from 'vue-router'
import Cube from 'cube-ui'

import '@/styles/index.scss' // global css

Vue.use(Cube)

Vue.config.productionTip = false

Vue.use(Router)

const router = new Router({
    mode: 'history'})

router.beforeEach((to, from, next) => {
    document.title = '提交成功'
    next()
})

new Vue({
    render: h => h(App)
}).$mount('#app')
